<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDPNET: XSpiral2dBaseExtension.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDPNET<span id="projectnumber">&#160;1.0</span>
   </div>
   <div id="projectbrief">.NET SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_6e8f4508e1d360b9a007f40edb8dae96.html">_SSDP</a></li><li class="navelem"><a class="el" href="dir_b1efc71fc5c0b1546dfaf7dca60b6e03.html">最新</a></li><li class="navelem"><a class="el" href="dir_3da81ba1892e410416fdba26c4859275.html">Repo</a></li><li class="navelem"><a class="el" href="dir_36a1a74683486d663aaa949ba78ca961.html">bim-ssd-core-plugin</a></li><li class="navelem"><a class="el" href="dir_c085970a38f500e61b887bb609fc24fd.html">SSDP.Net</a></li><li class="navelem"><a class="el" href="dir_3d9778eef114628a3d8facdda36c5043.html">SSDPNet</a></li><li class="navelem"><a class="el" href="dir_bd54ebea303681ad88c98d142df46247.html">PublicAPI</a></li><li class="navelem"><a class="el" href="dir_4cdd252a4c00d0fc823c862a50c8bed7.html">Geom</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">XSpiral2dBaseExtension.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma region Include_Platform</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &lt;ATECCore\ATECCoreAPI.h&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="keyword">using namespace </span>System;</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">using namespace </span>System::Runtime::CompilerServices;</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">using namespace </span>System::Runtime::InteropServices;</div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span>USING_NAMESPACE_ATEC</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>USING_NAMESPACEATEC_ATDATACORE</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>USING_NAMESPACE_ATEC_RATCORE</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="preprocessor">#pragma endregion Include_Platform</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>{</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">   20</a></span>    <span class="keyword">public ref class</span> <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">XSpiral2dBase</a></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>    {</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>        <span class="keyword">static</span> <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">SSDPNET::XSpiral2dBase</a> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a3ef4db3ce3548fc63828030835c53c10">Create</a>(<span class="keywordtype">int</span> transitionType);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>        <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">XSpiral2dBase</a>(ATEC::XSpiral2dBase pNative);</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>        <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#ae044ea0ab2b12249cc880744a5e800ec">DistanceToLocalAngle</a>(<span class="keywordtype">double</span> distance)  ;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>        <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#abe3d7c71b74364446b201716afbaa1e2">DistanceToCurvature</a>(<span class="keywordtype">double</span> distance)  ;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>        <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a68611c4c059ed30ccb99554279ee03b0">FractionToDistance</a>(<span class="keywordtype">double</span> fraction) ;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>        <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a6b8385e8fc4b8b070d9cbe8461c459da">LineSpiralArcSpiralLineTransition</a></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>            (</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>                ATEC::GeometryNET::XPoint3d lineAPoint,</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>                ATEC::GeometryNET::XPoint3d lineBPoint,</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>                ATEC::GeometryNET::XPoint3d lineLineIntersection,</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>                <span class="keywordtype">double</span>     radius,</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>                <span class="keywordtype">double</span>      lengthA,</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>                <span class="keywordtype">double</span>     lengthB,</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>                out <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">SSDPNET::XSpiral2dBase</a> spiralA,</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>                out <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">SSDPNET::XSpiral2dBase</a> spiralB,</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>                out ATEC::GeometryNET::XPoint3d  lineToSpiralA,</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>                out ATEC::GeometryNET::XPoint3d  lineToSpiralB,</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>                out ATEC::GeometryNET::XPoint3d  spiralAToArc,</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>                out ATEC::GeometryNET::XPoint3d  spiralBToArc,</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>                out ATEC::GeometryNET::XEllipse3d  arc</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>                );</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>        !<a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">XSpiral2dBase</a>();</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>        <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a111506e3b33d67c3509f763aa9031017">~XSpiral2dBase</a>();</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>        ATEC::XSpiral2dBase m_pNative;</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    };</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html">   80</a></span>    <span class="keyword">public ref class</span> <a class="code hl_class" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html">XSpiral2dPlacement</a></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    {</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>        <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#abf9e0d8f4c85f48668017272c900d318">XSpiral2dPlacement</a>();</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span>        <span class="keyword">const</span>  ATEC::GeometryNET::XPoint3d <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#ac2e03592b9dbfb24a2a43533cadb40d2">FractionToPoint</a>(<span class="keywordtype">double</span> fraction) ;</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>        !<a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#abf9e0d8f4c85f48668017272c900d318">XSpiral2dPlacement</a>();</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>        <a class="code hl_function" href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#a8c83bdca0f48d3bfdc5d6d486139a589">~XSpiral2dPlacement</a>();</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span> </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>        ATEC::XSpiral2dPlacement m_pNative;</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span>    };</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>}</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html">SSDPNET::XSpiral2dBase</a></div><div class="ttdoc">螺旋线扩展类</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.h:21</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_a111506e3b33d67c3509f763aa9031017"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a111506e3b33d67c3509f763aa9031017">SSDPNET::XSpiral2dBase::~XSpiral2dBase</a></div><div class="ttdeci">~XSpiral2dBase()</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:88</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_a3ef4db3ce3548fc63828030835c53c10"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a3ef4db3ce3548fc63828030835c53c10">SSDPNET::XSpiral2dBase::Create</a></div><div class="ttdeci">static SSDPNET::XSpiral2dBase Create(int transitionType)</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:4</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_a68611c4c059ed30ccb99554279ee03b0"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a68611c4c059ed30ccb99554279ee03b0">SSDPNET::XSpiral2dBase::FractionToDistance</a></div><div class="ttdeci">const double FractionToDistance(double fraction)</div><div class="ttdoc">Desc： 计算螺旋线上给定比例对应的距离</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:28</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_a6b8385e8fc4b8b070d9cbe8461c459da"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#a6b8385e8fc4b8b070d9cbe8461c459da">SSDPNET::XSpiral2dBase::LineSpiralArcSpiralLineTransition</a></div><div class="ttdeci">static bool LineSpiralArcSpiralLineTransition(ATEC::GeometryNET::XPoint3d lineAPoint, ATEC::GeometryNET::XPoint3d lineBPoint, ATEC::GeometryNET::XPoint3d lineLineIntersection, double radius, double lengthA, double lengthB, out SSDPNET::XSpiral2dBase spiralA, out SSDPNET::XSpiral2dBase spiralB, out ATEC::GeometryNET::XPoint3d lineToSpiralA, out ATEC::GeometryNET::XPoint3d lineToSpiralB, out ATEC::GeometryNET::XPoint3d spiralAToArc, out ATEC::GeometryNET::XPoint3d spiralBToArc, out ATEC::GeometryNET::XEllipse3d arc)</div><div class="ttdoc">Desc： 计算螺旋线和弧线以实现两条直线过渡</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:33</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_abe3d7c71b74364446b201716afbaa1e2"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#abe3d7c71b74364446b201716afbaa1e2">SSDPNET::XSpiral2dBase::DistanceToCurvature</a></div><div class="ttdeci">virtual const double DistanceToCurvature(double distance)</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:23</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_base_html_ae044ea0ab2b12249cc880744a5e800ec"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_base.html#ae044ea0ab2b12249cc880744a5e800ec">SSDPNET::XSpiral2dBase::DistanceToLocalAngle</a></div><div class="ttdeci">virtual const double DistanceToLocalAngle(double distance)</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:18</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_placement_html"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html">SSDPNET::XSpiral2dPlacement</a></div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.h:81</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_placement_html_a8c83bdca0f48d3bfdc5d6d486139a589"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#a8c83bdca0f48d3bfdc5d6d486139a589">SSDPNET::XSpiral2dPlacement::~XSpiral2dPlacement</a></div><div class="ttdeci">~XSpiral2dPlacement()</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:116</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_placement_html_abf9e0d8f4c85f48668017272c900d318"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#abf9e0d8f4c85f48668017272c900d318">SSDPNET::XSpiral2dPlacement::XSpiral2dPlacement</a></div><div class="ttdeci">XSpiral2dPlacement()</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:96</div></div>
<div class="ttc" id="aclass_s_s_d_p_n_e_t_1_1_x_spiral2d_placement_html_ac2e03592b9dbfb24a2a43533cadb40d2"><div class="ttname"><a href="class_s_s_d_p_n_e_t_1_1_x_spiral2d_placement.html#ac2e03592b9dbfb24a2a43533cadb40d2">SSDPNET::XSpiral2dPlacement::FractionToPoint</a></div><div class="ttdeci">const ATEC::GeometryNET::XPoint3d FractionToPoint(double fraction)</div><div class="ttdoc">Desc： 返回给定比例参数对应的点</div><div class="ttdef"><b>Definition:</b> XSpiral2dBaseExtension.cpp:101</div></div>
<div class="ttc" id="anamespace_s_s_d_p_n_e_t_html"><div class="ttname"><a href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></div><div class="ttdef"><b>Definition:</b> ATBtmkFuncsExtension.h:17</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
